
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:component>
<style type="text/css">
	.width_t {width:5%;}
</style>
	<h:form id="formMenu">
		<h:panelGrid id="panelGridMenuForm" style="width:99.7%;" columns="2" rendered="#{userBean.entity.id != null}">
			<p:panel style="width:99.7%;">
				<table>
					<tr>
						<td>
							<h:commandLink id="linkAreaTrabalho" action="pretty:areaTrabalho" title="início">
								<p:graphicImage id="imageUserMenu" value="/resources/img/home2.png" />
							</h:commandLink>
						</td>
						<td>
							<h:commandLink id="comandoLinkAreaTrabalhoUser" action="pretty:areaTrabalhoUsuario" title="área de trabalho">
								<p:graphicImage id="imageAreaTrabalhoMenu" value="/resources/img/area_trabalho_icone.png" />
							</h:commandLink>
						</td>
						<td>
								<p:menubar id="menuBarra" model="#{menuDinamicoBean.menuModel}" rendered="#{menuDinamicoBean.menuModel.contents.size() > 0}" />
						</td>
					</tr>
				</table>
			</p:panel>
		</h:panelGrid>		
	</h:form>
</ui:component>
</html>

